import axios from "./index";

// 获取分类列表
export function getCatalogList() {
  return axios.get("/catalog/index");
}
// 获取当前分类数据
export function getCatalogcurrent(id) {
  return axios.get("/catalog/current", { params: { id } });
}
